﻿<?xml version="1.0" encoding="utf-8" ?>
<DbDataRequest connection="$ForumDBConnection$" type="$ForumDBType$">
  <SqlStatement hasResults="false">
    UPDATE Forum SET
      numPost=numPost+1
      lastPostTitle=@lastPostTitle,
      lastPostById=@lastPostById,
      lastPostByName=@lastPostByName,
      lastPostDate=@lastPostByDate
    WHERE id=@id;
  </SqlStatement>
  <Param name="id" type="UniqueIdentifier"/>
  <Param name="lastPostTitle" type="VarChar" />
  <Param name="lastPostByDate" type="DateTime" />
  <Param name="lastPostById" type="UniqueIdentifier" />
  <Param name="lastPostByName" type="VarChar" />

</DbDataRequest>